package com.quick.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.quick.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.quick.common.annotation.Excel;

/**
 * 值班记录对象 duty_record
 * 
 * @author quick
 * @date 2025-01-04
 */
public class DutyRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 值班记录编号 */
    private Long id;

    /** 来电来访人数 */
    @Excel(name = "来电来访人数")
    private Long callVisitPersonNum;

    /** 记录人员签字 */
    @Excel(name = "记录人员签字")
    private String recordPersonSign;

    /** 来电来访人姓名 */
    @Excel(name = "来电来访人姓名")
    private String callVisitPersonName;

    /** 来电来访时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "来电来访时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date callVisitTime;

    /** 来电来访内容 */
    @Excel(name = "来电来访内容")
    private String callVisitContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCallVisitPersonNum(Long callVisitPersonNum) 
    {
        this.callVisitPersonNum = callVisitPersonNum;
    }

    public Long getCallVisitPersonNum() 
    {
        return callVisitPersonNum;
    }
    public void setRecordPersonSign(String recordPersonSign) 
    {
        this.recordPersonSign = recordPersonSign;
    }

    public String getRecordPersonSign() 
    {
        return recordPersonSign;
    }
    public void setCallVisitPersonName(String callVisitPersonName) 
    {
        this.callVisitPersonName = callVisitPersonName;
    }

    public String getCallVisitPersonName() 
    {
        return callVisitPersonName;
    }
    public void setCallVisitTime(Date callVisitTime) 
    {
        this.callVisitTime = callVisitTime;
    }

    public Date getCallVisitTime() 
    {
        return callVisitTime;
    }
    public void setCallVisitContent(String callVisitContent) 
    {
        this.callVisitContent = callVisitContent;
    }

    public String getCallVisitContent() 
    {
        return callVisitContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("callVisitPersonNum", getCallVisitPersonNum())
            .append("recordPersonSign", getRecordPersonSign())
            .append("callVisitPersonName", getCallVisitPersonName())
            .append("callVisitTime", getCallVisitTime())
            .append("callVisitContent", getCallVisitContent())
            .toString();
    }
}
